package com.lanchetech.dao;
import java.util.Collection;

import com.lanchetech.bean.request.ZonePageReq;import com.lanchetech.entity.Zone;
import org.apache.ibatis.annotations.Mapper;import org.apache.ibatis.annotations.Param;import java.util.List;

@Mapper
public interface ZoneMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Zone record);

    int insertSelective(Zone record);

    Zone selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Zone record);

    int updateByPrimaryKey(Zone record);

    int insert2(Zone record);

    List<Zone> findAllPage(ZonePageReq req);

    int updateDeletedById(@Param("updatedDeleted") Byte updatedDeleted, @Param("id") Long id);

    List<Zone> findAllByIdIn(@Param("idCollection")Collection<Long> idCollection);


}